﻿<UserControl x:Class="RB.Developer.Tools.UserControlORMObject"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="481" d:DesignWidth="555">
    <Grid Width="555" Height="479">
        <Label Content="连接类型" Height="28" HorizontalAlignment="Left" Margin="12,10,0,0" Name="label1" VerticalAlignment="Top" />
        <ComboBox Height="23" HorizontalAlignment="Left" Margin="97,12,0,0" Name="cmbConnectType" VerticalAlignment="Top" Width="120">
            <ComboBoxItem Content="SQL Server" IsSelected="True" />
            <ComboBoxItem Content="OLE DB" />
            <ComboBoxItem Content="ODBC" />
        </ComboBox>
        <Label Content="连接字符串" Height="28" HorizontalAlignment="Left" Margin="12,44,0,0" Name="label2" VerticalAlignment="Top" />
        <TextBox Height="50" HorizontalAlignment="Left" Margin="97,46,0,0" Name="txtConnStr" VerticalAlignment="Top" Width="402" />
        <Label Content="查询表或视图" Height="28" HorizontalAlignment="Left" Margin="12,105,0,0" Name="label3" VerticalAlignment="Top" />
        <ComboBox Height="23" HorizontalAlignment="Left" Margin="97,107,0,0" Name="cmbView" VerticalAlignment="Top" Width="173" IsEditable="True" SelectionChanged="cmbView_SelectionChanged" />
        <Label Content="物理表" Height="28" HorizontalAlignment="Left" Margin="285,105,0,0" Name="label4" VerticalAlignment="Top" />
        <ComboBox Height="23" HorizontalAlignment="Left" IsEditable="True" Margin="345,107,0,0" Name="cmbTable" VerticalAlignment="Top" Width="154" SelectionChanged="cmbTable_SelectionChanged" />
        <Label Content="类名称" Height="28" HorizontalAlignment="Left" Margin="12,139,0,0" Name="label5" VerticalAlignment="Top" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="97,141,0,0" Name="txtClassName" VerticalAlignment="Top" Width="173" />
        <Button Content="生成" Height="23" HorizontalAlignment="Left" Margin="280,144,0,0" Name="btnGenerate" VerticalAlignment="Top" Width="51" Click="btnGenerate_Click" />
        <Button Content="连接数据库" Height="23" HorizontalAlignment="Left" Margin="232,12,0,0" Name="btnConnect" VerticalAlignment="Top" Width="75" Click="btnConnect_Click" />
        <TextBox Height="285" HorizontalAlignment="Left" Margin="12,182,0,0" Name="txtObjectCode" VerticalAlignment="Top" Width="487" AcceptsReturn="True" />
        <Button Content="生成MVC Detail" Height="23" HorizontalAlignment="Left" Margin="337,144,0,0" Name="btnGenMvcDetail" VerticalAlignment="Top" Width="98" Click="btnGenMvcDetail_Click" />
        <Button Content="生成MVC List" Height="23" HorizontalAlignment="Left" Margin="441,144,0,0" Name="button1" VerticalAlignment="Top" Width="98" Click="button1_Click" />
    </Grid>
</UserControl>
